Distance matrices in phylogeny